using System;
using log4net.Config;
using log4net;

namespace RoofRunner
{
#if WINDOWS || XBOX
    static class Program
    {
        #region Properties
        public static ILog Logger { get; set; }
        #endregion // Properties

        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main(string[] args)
        {
            XmlConfigurator.Configure();
            Logger = LogManager.GetLogger(typeof(Program));

            Logger.Debug("Start and run Engine");
            using (RoofRunnerGame game = new RoofRunnerGame())
            {
                game.Run();
            }
            Logger.Debug("End reached");
        }
    }
#endif
}

